cy.intercept() in Cypress is used to spy on, modify, or stub network requests/responses — perfect for testing without depending on real backend responses.
cy.intercept() lets you:
- Monitor (spy): Observe outgoing or incoming HTTP requests
 - Stub (mock): Provide fake responses to skip actual API calls
 - Modify: Change the request or response on-the-fly